package com.atguigu.gmall.pay;

import com.atguigu.gmall.common.config.mq.EnableMqService;
import com.atguigu.gmall.interceptors.annotation.EnableUserAuthFeignInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringCloudApplication
@EnableFeignClients(basePackages = {"com.atguigu.gmall.feign.order"})
@EnableUserAuthFeignInterceptor
@EnableMqService
public class ServicePayApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServicePayApplication.class,args);
    }
}
